package com.bdqn.vueboot.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.vueboot.entity.Mail;
import com.bdqn.vueboot.entity.MailType;
import com.bdqn.vueboot.mapper.MailMapper;
import com.bdqn.vueboot.service.MailTypeService;
import com.bdqn.vueboot.mapper.MailTypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class MailTypeServiceImpl extends ServiceImpl<MailTypeMapper, MailType>
        implements MailTypeService {
    @Resource
    MailTypeMapper mailTypeMapper;

    @Override
    public List<MailType> allMailTypeBiz() {
        QueryWrapper<MailType> queryWrapper = new QueryWrapper<MailType>();
        return mailTypeMapper.selectList(queryWrapper);
    }
}




